package com.bridgeintelligent.tag.mapper;

import com.bridgeintelligent.tag.webserver.dim.mgmt.api.DictInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @description
 * @author: grp 2020-08-14 15:27
 **/
@Mapper
public interface DictMapper {
    @Select("select code, code_name, type, name, sort, id from TAG_DICT where type=#{type} order by sort asc")
    List<DictInfo> selectByType(String type);
}
